package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 travel_info
 *
 * @author ruoyi
 * @date 2024-09-17
 */
@Data
public class TravelInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 行程方案ID */
    @Excel(name = "行程方案ID")
    private String travelNo;

    /** 行程方案名称 */
    @Excel(name = "行程方案名称")
    private String travelName;

    /** 行程总开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "行程总开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date travelStartTime;

    /** 行程总结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "行程总结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date travelEndTime;

    /** 行程的总天数 */
    @Excel(name = "行程的总天数")
    private Integer totalDay;

    /** 出发城市ID */
    @Excel(name = "出发城市ID")
    private Integer startCityId;

    /** 出发城市名称 */
    @Excel(name = "出发城市名称")
    private String startCityName;

    /** 结束城市ID */
    @Excel(name = "结束城市ID")
    private Integer endCityId;

    /** 结束城市名称 */
    @Excel(name = "结束城市名称")
    private String endCityName;

    /** 审核状态(1通过、-1失败) */
    @Excel(name = "审核状态(1通过、-1失败)")
    private Integer auditStatus;

    /** 是否有效（0初始、1有效） */
    @Excel(name = "是否有效", readConverterExp = "0=初始、1有效")
    private Integer status;

}
